<?php

namespace app\company\model;


use think\Model;

/**
 * @property int $id
 * @property int $company_id 公司id
 * @property string $no 车牌号
 */
class DeliverCar extends Base
{

    public static function onBeforeInsert(DeliverCar $model):void
    {
        $model->company_id = getCompanyId();
    }
}